const { default: styled } = require("styled-components");

const SongSheetItemWarrper = styled.li`
      flex-shrink: 0;
      width: 18%;
      /* height: 18%; */
      min-height: 170px;
      border-radius: 10px;
      background-color: rgba(0, 0, 0, 0.1);
      margin-right: 1%;
      transition: all 0.3s;
      position: relative;
      cursor: pointer;
      .play_count {
        position: absolute;
        bottom: 10px;
        right: 10px;
        background-color: rgba(0, 0, 0, 0.8);
        padding: 5px 10px;
        color: white;
        border-radius: 20px;
        .icon {
          margin-right: 3px;
        }
      }
      & .cover {
        position: absolute;
        display: none;
        top: 0;
        left: 0;
        justify-content: center;
        align-items: center;
        font-size: 60px;
        color: white;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.3);
        border-radius: 10px;
        .playIcon:hover {
          color: rgb(30, 206, 156);
        }
      }
      &:hover {
        transform: translateY(-10px);
      }
      &:hover .cover {
        display: flex;
      }
      &:hover .play_count {
        display: none;
      }
      &:last-child {
        margin: 0;
      }
`

export default SongSheetItemWarrper